package com.restaurant.application.root.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.View;
import com.nebutown.generation.basictype.UID;
import com.nebutown.supporthome.AbstractBase;
import com.restaurant.application.root.Root;

public class RootOutFace implements Root {
    private RootBase base;

    public RootOutFace(RootBase base) {
        this.base = base;
    }

    public AbstractBase getBase() {
        return this.base;
    }

    @Override
    public void logout(View arg0) {
        base.call("logout", arg0);
    }

    @Override
    public UID getId() {
        return (UID) base.call("getId");
    }

    @Override
    public Class getEffectiveInterface() {
        return (Class) base.call("getEffectiveInterface");
    }

    @Override
    public View getViewLead(ViewSpec arg0) {
        return (View) base.call("getViewLead", arg0);
    }

    @Override
    public View getFullView() {
        return (View) base.call("getFullView");
    }

    @Override
    public void takeGuest(UID arg0) {
        base.call("takeGuest", arg0);
    }

    @Override
    public void removeGuest(UID arg0) {
        base.call("removeGuest", arg0);
    }

    @Override
    public boolean isTop() {
        return (boolean) base.call("isTop");
    }

    @Override
    public void pushGuest(UID arg0) {
        base.call("pushGuest", arg0);
    }

}
